//
//  SharkOffView.m
//  MLF
//
//  Created by lanou on 15/9/9.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "SharkOffView.h"

@interface SharkOffView ()



@end



@implementation SharkOffView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {

        self.backgroundColor = [UIColor colorWithRed:45 / 255.0 green:49 / 255.0 blue: 50 / 255.0 alpha:1.0];

        self.sharkLogoImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"share.jpg"]];
        self.sharkLogoImageView.frame = CGRectMake(self.frame.size.width / 2 - 75, self.frame.size.height / 2 - 75, 150 , 150);
        self.sharkLogoImageView.transform = CGAffineTransformMakeRotation(M_PI / 9);
        [self addSubview:self.sharkLogoImageView];

     
    }

    return self;
}



@end
